<?php

/*
 * Create by Indonesian Brain Solutions
 * E-mail : cs@mesinit.com
 * Programmer : sony@sonywibisono.com
 */


global $action,$user_id,$login_status,$is_admin;

function add(){
    
}
function edit(){
    global $db,$id;
    $sql="select * from";
    $row=$db->fetch_row($sql);
    
}
function add_process(){
    global $db,$id;
    
}
function edit_process(){
    global $db,$id;
    
}
function delete_process(){
    global $db,$id;
    
}
function __default(){
    global $db,$page,$sortby,$sortorder;
}
switch($action){
    case 'add':
        add();
        break;
    case 'edit':
        edit();
        break;
    case 'add_process':
        add_process();
        break;
    case 'edit_process':
        edit_process();
        break;
    case 'delete':
        delete_process();
        break;
    default:
        __default();
}
?>